# -*- coding = utf-8 -*-
# @Time : 2021/8/30 10:26
# @Author : 龙王赘婿_彪少
# @File : bilibili.py
# @Software: PyCharm

# 使用前需要打开控制台，terminal，输入下面命令
# pip install you-get

# you_get www.bilibili.com/video/BV1nf4y1373J?spm_id_from=333.851.b_7265636f6d6d656e64.1

import os

# url = f'www.bilibili.com/video/BV1nf4y1373J?spm_id_from=333.851.b_7265636f6d6d656e64.1'
url = f'https://www.mmxzxl1.com/common/ny/2020_07/05/ny_huMpcDj_wm.mp4'
try:
    os.system("you-get " + url)  # 下载地址
    print("下载成功")
except:
    print("下载失败")
